{% load static from staticfiles %}
<!DOCTYPE html>
<html lang="en"> 
    <head>
        <meta charset="utf-8">
        <title>猫咪商城管理系统</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="{% static 'administrator/css/bootstrap.min.css' %}" rel="stylesheet">
        <link href="{% static 'administrator/css/bootstrap-responsive.min.css' %}" rel="stylesheet">
        <link href="{% static 'css/site.css" rel="stylesheet' %}">
        <!--[if lt IE 9]><script src="{% static 'http://html5shim.googlecode.com/svn/trunk/html5.js' %}"></script><![endif]-->
    </head>
    <body>
        <div class="container">
            <div class="navbar">
                <div class="navbar-inner">
                    <div class="container">
                        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">猫咪商城后台管理</a>
                        <div class="nav-collapse">
                            <ul class="nav">
                                <li class="active">
                                    <a href="index.html">导航栏</a>
                                </li>
                                <li>
                                    <a href="settings.htm">账户设置</a>
                                </li>
                                <li>
                                    <a href="help.htm">帮助</a>
                                </li>
                                <li class="dropdown">
                                    <a href="help.htm" class="dropdown-toggle" data-toggle="dropdown">Tours <b class="caret"></b></a>
                                    <ul class="dropdown-menu">
                                        <li>
                                            <a href="help.htm">Introduction Tour</a>
                                        </li>
                                        <li>
                                            <a href="help.htm">Project Organisation</a>
                                        </li>
                                        <li>
                                            <a href="help.htm">Task Assignment</a>
                                        </li>
                                        <li>
                                            <a href="help.htm">Access Permissions</a>
                                        </li>
                                        <li class="divider">
                                        </li>
                                        <li class="nav-header">
                                            Files
                                        </li>
                                        <li>
                                            <a href="help.htm">How to upload multiple files</a>
                                        </li>
                                        <li>
                                            <a href="help.htm">Using file version</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                            <form class="navbar-search pull-left" action="">
                                <input type="text" class="search-query span2" placeholder="Search" />
                            </form>
                            <ul class="nav pull-right">
                                <li>
                                    <a href="profile.htm">@{{ request.session.adminuser }}</a>
                                </li>
                                <li>
                                    <a href="{% url 'admin_logout' %}">Logout</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="span3">
                    <div class="well" style="padding: 8px 0;">
                        <ul class="nav nav-list">
                            <li class="nav-header">
                                导航栏
                            </li>
                            <li class="active">
                                <a href="{% url 'admin_index' %}"><i class="icon-white icon-home"></i> 首页</a>
                            </li>
                            <li class="nav-header">
                                会员管理
                            </li>
                            <li>
                                <a href="{% url 'admin_users_index' %}"><i class="icon-folder-open"></i> 浏览会员</a>
                            </li>
                            <li>
                                <a href="{% url 'admin_users_add' %}"><i class="icon-check"></i> 添加会员</a>
                            </li>
                            <li class="nav-header">
                                猫咪类别管理
                            </li>
                            <li>
                                <a href="{% url 'admin_type_index' %}"><i class="icon-envelope"></i> 浏览类别</a>
                            </li>
                            <li>
                                <a href="{% url 'admin_type_add' 0 %}"><i class="icon-file"></i> 添加类别</a>
                            </li>
                            <li class="nav-header">
                                猫咪管理
                            </li>
                            <li>
                                <a href="{% url 'admin_goods_index' 1 %}"><i class="icon-envelope"></i> 浏览商品</a>
                            </li>
                            <li>
                                <a href="{% url 'admin_goods_add' %}"><i class="icon-file"></i> 添加商品</a>
                            </li>
                            <li class="nav-header">
                                订单管理
                            </li>
                            <li>
                                <a href="activity.htm"><i class="icon-list-alt"></i> 浏览订单</a>
                            </li>
                            <li class="nav-header">
                                日志管理
                            </li>
                            <li>
                                <a href="profile.htm"><i class="icon-user"></i> 日志信息</a>
                            </li>
                            <li>
                                <a href="settings.htm"><i class="icon-cog"></i> 设置</a>
                            </li>
                            <li class="divider">
                            </li>
                            <li>
                                <a href="help.htm"><i class="icon-info-sign"></i> 帮助</a>
                            </li>
                            <li class="nav-header">
                                Bonus Templates
                            </li>
                            <li>
                                <a href="gallery.htm"><i class="icon-picture"></i> Gallery</a>
                            </li>
                            <li>
                                <a href="blank.htm"><i class="icon-stop"></i> Blank Slate</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="span9">
                    {% block mainbody %}
                    {% endblock %}
                </div>
            </div>
        </div>
        <script src="{% static 'administrator/js/jquery.min.js' %}"></script>
        <script src="{% static 'administrator/js/bootstrap.min.js' %}"></script>
        <script src="{% static 'administrator/js/site.js' %}"></script>
    </body>
</html>